const apis = {
  user: {
    userDepts: "/admin/current/user/userDepts",
    changeDept: "/admin/current/user/changeDept",
    refreshUser: "/admin/current/refreshUser",
    page: "/admin/user",
    save: "/admin/user/save",
    updatePassword: "/admin/user/update/password",
    updateCurrent: "/admin/current/user/update",
    list: "/admin/user/list",
    saveUserRoles: "/admin/user/roles/save",
    getUserRoles: "/admin/user/roles",
    info: "/admin/user/info",
    isMobileExists: "/admin/user/isMobileExists",
    isIdcardExists: "/admin/user/isIdcardExists",
    isEmailExists: "/admin/user/isEmailExists",
    resetpwd: "/admin/user/resetpwd",
    mypwd: "/admin/user/update/mypwd",
    findByIdcard: "/admin/user/findByIdcard",
  },
  role: {
    getSelfRoleList: "/admin/role/getSelfRoleList",
    page: "/admin/role",
    getPageInfo: "/admin/role/getPageInfo",
    save: "/admin/role/save",
    remove: "/admin/role/remove",
    list: "/admin/role/list",
    getRoleUsers: "/admin/role/users",
    saveRoleUsers: "/admin/role/users/save",
    saveDeptUsers: "/admin/role/users/saveDeptUsers",
    deptUsers: "/admin/role/deptUsers",
    deptusers: "/admin/role/deptusers",
    listByClient: "/admin/role/getListByClient",
  },
  app: {
    page: "/admin/app",
    save: "/admin/app/save",
    remove: "/admin/app/remove",
    saveClient: "/admin/app/client/save",
    resetClient: "/admin/app/reset",
    getApp: "/admin/app/info",
    getClient: "/admin/app/client/info",
    getInfoByClient: "/admin/app/getInfoByClient",
    findAppList: "/admin/app/findAppList"
  },
  api: {
    page: "/admin/api",
    add: "/admin/api/add",
    save: "/admin/api/save",
    list: "/admin/api/list",
    remove: "/admin/api/remove",
    batchRemove: "/admin/api/batch/remove",
    batchUpdate: "/admin/api/batch/update",
    batchUpdateServiceList: "/admin/api/batch/update/service/list",
    batchUpdateService: "/admin/api/batch/update/service",
    serviceList: "/admin/api/service/list",
  },
  menu: {
    save: "/admin/menu/save",
    remove: "/admin/menu/remove",
    list: "/admin/menu/listNew",
    getMenu: `/admin/menu/info`,
  },
  action: {
    save: "/admin/action/save",
    remove: "/admin/action/remove",
    list: "/admin/action/list",
    getActionsByMenu: "/admin/menu/action",
  },
  authority: {
    user: "/admin/authority/user",
    role: "/admin/authority/role",
    app: "/admin/authority/app",
    menu: "/admin/authority/menu",
    api: "/admin/authority/api",
    action: "/admin/authority/action",
    userGrant: "/admin/authority/user/grant",
    roleGrant: "/admin/authority/role/grant",
    appGrant: "/admin/authority/app/grant",
    actionGrant: "/admin/authority/action/grant",
    appMenu: "/admin/authority/appMenu",
  },
  login: {
    login: "/bigscreen/login/token",
    logout: "/bigscreen/logout/token",
    getUserInfo: "/bigscreen/current/user",
    //    getUserMenu: '/admin/current/user/menu',
    getUserMenu: "/bigscreen/current/user/appMenu",
    mobileLogin: "/admin/mobileLogin/token",
    getSmsCaptcha: "/sms/ captcha",
  },
  gateway: {
    refresh: "/actuator/open/refresh",
    getAccessLogs: "/bigscreen/gateway/access/logs",
    getServiceList: "/admin/gateway/service/list",
  },
  routes: {
    page: "/admin/gateway/route",
    add: "/admin/gateway/route/add",
    save: "/admin/gateway/route/save",
  },
  rateLimit: {
    page: "/admin/gateway/limit/rate",
    save: "/admin/gateway/limit/rate/save",
    remove: "/admin/gateway/limit/rate/remove",
    getRateLimitApis: "/admin/gateway/limit/rate/api/list",
    saveRateLimitApis: "/admin/gateway/limit/rate/api/save",
  },
  ipLimit: {
    page: "/admin/gateway/limit/ip",
    save: "/admin/gateway/limit/ip/save",
    remove: "/admin/gateway/limit/ip/remove",
    getIpLimitApis: "/admin/gateway/limit/ip/api/list",
    saveIpLimitApis: "/admin/gateway/limit/ip/api/save",
  },
  jobs: {
    page: "/admin/job",
    save: "/admin/job/save",
    remove: "/admin/job/remove",
    pause: "/admin/job/pause",
    resume: "/admin/job/resume",
    getLogs: "/admin/job/logs",
  },
  msg: {
    webhook: {
      logs: "/admin/webhook/logs",
      resend: "/admin/webhook/resend",
    },
  },
  generate: {
    getTableInfos: "/admin/code/generator/tables",
    execGenerat: "/admin/code/generator/execute",
    download: "/admin/code/downloadFile",
    // downloadFile: function () {
    //   return `/admin/code/downloadFile`
    // }
  },
  dict: {
    typePage: "/admin/systemDict/typePage",
    saveType: "/admin/systemDict/saveTypeInfo",
    dataPage: "/admin/systemDict/dataPage",
    saveData: "/admin/systemDict/saveDataInfo",
    systemDict:"/admin/systemDict/getTypeDataListByCodeAndBakTxt2",
    typeDataList: "/admin/systemDict/typeDataList",
    findMultiDataLine: "/admin/systemDict/findMultiDataLine",
    getDictDatasSingle:"/admin/systemDict/getDictDatasSingle",
    byCode: "/admin/systemDict/getTypeDataListByCode",
    findMultiDataTrees: "/admin/systemDict/findMultiDataTrees",
    findMultiDataTreesByCode: "/admin/systemDict/findMultiDataTreesByCode",
  },
    systemDict: {
      getTypeDataListByCode: "/admin/systemDict/getTypeDataListByCode",
      findTypeDataLazyList: "/admin/systemDict/findTypeDataLazyList"
    },

  company: {
    hospital: "/admin/systemCompanyInfo/getCompanyList",
    companyList: "/admin/systemCompanyInfo/getCompanyList",
    hospitalListByName: "/admin/systemCompanyInfo/getHospitalListByName",
    saveCompany: "/admin/systemCompanyInfo/saveCompany",
    getCompanyPage: '/admin/systemCompanyInfo/getCompanyPage',
    getInfoById: '/admin/systemCompanyInfo/getInfoById',
    // companyList: "/admin/company/effectCompanyList",
  },

  systemDeptInfo: {
    getHospitalDeptUserList: "/admin/systemDeptInfo/getHospitalDeptUserList",
    getCompanyDeptList: "/admin/systemDeptInfo/getCompanyDeptList",
    getSelfCompanyDeptList: "/admin/systemDeptInfo/getSelfCompanyDeptList",
    save: "/admin/systemDeptInfo/save", // 保存-修改 科室信息
    page: "/admin/systemDeptInfo/page",
    list: "/admin/systemDeptInfo/list",
    info: "/admin/systemDeptInfo/info",
    isNameExists: "/admin/systemDeptInfo/isNameExists",
    isCodeExists: "/admin/systemDeptInfo/isCodeExists",
    saveDoctor: '/admin/systemDeptInfo/saveDoctor', // 保存医生
    initCompanyDeptRedis:'/admin/systemDeptInfo/initCompanyDeptRedis', // 初始化科室
    saveSysDeptUser: '/admin/systemDeptInfo/saveSysDeptUser',
  },
  systemDeptUser: {
    page: "/admin/systemDeptUser/page",
    list: "/admin/systemDeptUser/list",
    info: "/admin/systemDeptUser/info",
    getDeptUserInfo: "/admin/systemDeptUser/getDeptUserInfo",
    getSelfDeptUser:"/admin/systemDeptUser/getSelfCompanyDeptUser",
    relateDeptUser: "/admin/systemDeptUser/relateDeptUser",
    getCompanyDeptUser: "/admin/systemDeptUser/getCompanyDeptUser" // 获取医院科室用户信息列表
  },
  settleStandard: {
    save: "/admin/settleStandard/save",
    page: "/admin/settleStandard/page",
  },
  chsruleInfo: {
    typePage: "/admin/chsruleInfo/typePage",
    dataPage: "/admin/chsruleInfo/dataPage",
    getRechargeDetailList: '/admin/chsruleInfo/getRechargeDetailList',
    getLimitpriceDiagnoseDetailList: '/chsrule/chsruleInfo/getLimitpriceDiagnoseDetailList', // 获取限价格（诊疗）明细信息列表
    getLimitpriceMedicDetailList: '/chsrule/chsruleInfo/getLimitpriceMedicDetailList', // 获取限价格（药品）明细信息列表
    getLimitpriceMaterialDetailList: '/chsrule/chsruleInfo/getLimitpriceMaterialDetailList', // 获取限价格（材料）明细信息列表
    initChsruleRedis:'/admin/chsruleInfo/initChsruleRedis', // 初始化医保规则
    getChsruleRedisTypeName: '/admin/chsruleInfo/getChsruleRedisTypeName'
  },
  systemDeptuserRole: {
    findSelfDeptUserRoles:'/admin/systemDeptuserRole/findSelfDeptUserRoles',
    findDeptUserClientRoles: '/admin/systemDeptuserRole/findDeptUserClientRoles'
  },
  systemUser: {
    isUserNameExists: '/admin/systemUser/isUserNameExists'
  }

};
export default apis;
